//
//  LSZAssistLogViewController.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/10/27.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZAssistLogViewController.h"

@interface LSZAssistLogViewController ()

@end

@implementation LSZAssistLogViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"帮扶日志";
    
    [self initWIthBarButtonItem];
    [self getAssistLogData];
    
    [self initWIthBarButtonItem];
}
-(void)getAssistLogData
{
    [LSZRequestData initRiZhi:^(BOOL isOK, NSString * string, NSDictionary * dic) {
        if (isOK == YES) {
            
        }else{
            if ([string isEqualToString:@"重复登录"]) {
                [LSZPublicClassDataToll RepeatLoginInterfaceJump:self.view fromVC:@"LSZStudyPlanViewController"];
            }else{
                [LSZPublicClassDataToll initWithAlertKuangView:self.view string:string];
            }
        }
    }];
    
}
-(void)initWIthBarButtonItem
{
    UIBarButtonItem *rightBarItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"添加"] style:UIBarButtonItemStylePlain target:self action:@selector(clickReleaseItem)];
    self.navigationItem.rightBarButtonItem = rightBarItem;
}
-(void)clickReleaseItem
{
    LSZConferenceClassViewController * VC = [[LSZConferenceClassViewController alloc]init];
    [self.navigationController pushViewController:VC animated:YES];
}
@end
